package guowei.gulistorage.storage.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("vms_user")
public class UserEntity {
    @TableId
    private Long id;

    private String username;
    private String password;
    private String realName;

    private String headUrl;

    private Integer gender;

    private String email;

    private String mobile;

    private Long deptId;

    private Integer superAdmin;

    private Integer status;
    private Long creator;

    private Date createDate;






    private Long updater;

    private Date updateDate;

    @TableField(exist=false)
    private String deptName;
}
